#ifndef ADDDIALOG_H
#define ADDDIALOG_H

#include <QDialog>

namespace Ui {
    class AddDialog;
}

class AddDialogData;

class AddDialog : public QDialog
{
    Q_OBJECT

public:
    explicit AddDialog(QWidget *parent = 0);
    ~AddDialog();

    AddDialogData getData();

private:
    Ui::AddDialog *ui;
};


class AddDialogData
{
public:
    AddDialogData(int type, QString title, float id);

    int getType();
    QString getTitle();
    float getId();

private:
    int _type;
    QString _title;
    float _id;
};

#endif // ADDDIALOG_H
